<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">

<title>${title}</title>

<head>

</head>

<body>

<!--format of text that controller sends: [[section_title , [text, text, text,..]], [section_title, [text, text, text,...]], ...]-->
<!--each section will be in pairs, so section [0] is always the title, section[1] is always a list of the remaining text-->

<div py:for="section in text">
  <h2>${section[0]}</h2>
  <div py:for="t in section[1]">
    ${t}
  </div>
</div>
</body>

</html>
